.sm-page {
  padding: 20px;
  background: #fafcff;
  min-height: 100vh;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.sm-groups {
  max-width: 1200px;
  margin: 0 auto;
}

.sm-group {
  margin-bottom: 40px;
}

.sm-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 4px;
}

.sm-group-header span:first-child {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.sm-more {
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.sm-more:hover {
  color: #333;
}

.sm-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  cursor: pointer;
}

.sm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sm-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.sm-card-title {
  font-size: 14px;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

.sm-hot-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 40px 0 20px 0;
  text-align: center;
}

.sm-hot-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin: 32px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.sm-hot-item {
  flex: 1;
  background: #f8f8f8;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  cursor: pointer;
}

.sm-hot-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sm-hot-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.sm-hot-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  text-align: center;
}

.sm-hot-item-desc {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* 搜索栏样式 */
.sm-search-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  margin-top: 16px;
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(250, 252, 255, 0.96);
  padding: 16px 0;
}

.sm-search-box {
  position: relative;
  width: 96%;
  max-width: 1200px;
  height: 56px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px #edf1f7;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.sm-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  color: #7b8591;
  background: transparent;
}

.sm-search-icon {
  width: 24px;
  height: 24px;
  color: #bfc5d1;
  margin-right: 12px;
}

.sm-filter-icon {
  width: 24px;
  height: 24px;
  color: #bfc5d1;
  margin-left: 12px;
  cursor: pointer;
}

/* 加载状态 */
.sm-loading {
  height: 40px;
  text-align: center;
  color: #aaa;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .sm-page {
    padding: 16px;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  
  .sm-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .sm-hot-list {
    flex-direction: column;
    gap: 16px;
  }
  
  .sm-hot-item {
    padding: 16px;
  }
  
  .sm-hot-item img {
    width: 60px;
    height: 60px;
  }
  
  .sm-search-box {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .sm-cards {
    grid-template-columns: 1fr;
  }
  
  .sm-group-header span:first-child {
    font-size: 18px;
  }
  
  .sm-hot-title {
    font-size: 18px;
  }
} 